/*
 * Nemlinium.cpp
 *
 *  Created on: 05/03/2013
 *      Author: eusyar
 */

#include "game/entities/Nemlinium.h"
#include "util/Helpers.h"
#include <string>

using namespace eats_helpers;

Nemlinium::Nemlinium(SDL_Surface * _workingSurf, int _posX, int _posY):GameObject(_workingSurf, _posX, _posY) {
	// TODO Stub de construtor gerado automaticamente

}

Nemlinium::~Nemlinium() {
	// TODO !CodeTemplates.destructorstub.tododesc!
}

bool Nemlinium::setUp() {
	std::string path = ResourceHelper::getNemliniumPath();
	animation = new Animation(workingSurf, path.append( PathHelper::resourceResolution() ).append(".png"),&position->x,&position->y, false, 1, ResourceHelper::getNemliniumTileSize());
	addComponent(animation);
	enableComponent(animation);

	return GameObject::setUp();

}
